@import './element-ui.scss';

* {
  padding: 0;
  margin: 0;
}

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

/** 去除input输入框样式 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}



.flex {
  display: flex;
}

.flex_center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex_center_direction {
  display: flex;
  justify-content: center;
  // align-items: center;
  flex-direction: column;
}
.flex_center_direction2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.flex_between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex_between_direction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.linear-border {
  width: 2px;
  height: 70%;
}

.date-margin-top {
  margin-top: 5px
}

// .margin-top1{
//   margin-top: 5px
// }
// .router-view {
//   width: 100%;
//   height: 100vh;
//   overflow: auto;
//   // background: rgba(0, 0, 0, 0.8);
//   background-image: url('~@/assets/images/index/mao.jpg');
//   background-size: 100% 100%;
//   position: fixed;
//   top: 0;
//   left: 0;
//   // transform: scale(1);
//   // animation: circle 0.4s ease-out 1;
//   z-index: 10;

// }

// .router-view-content {
//   width: 1920px;
//   height: 1080px;
//   position: absolute;
//   left: 50%;
//   margin-left: -960px;
//   transform: scale(1);
//   animation: circle 0.5s ease-out 1;
//   top: 0;
//   background-image: url('~@/assets/images/index/BG.png');
//   background-size: 100% 100%;
//   // background: red;
// }

.router-close {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
  color: #fff;
  font-size: 40px;

}

/*定义关键帧动画*/
@keyframes circle {
  0% {
    transform: scale(0);
    opacity: 0.71;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.ellipsis2 {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: inline-block;
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.ellipsis {
  width: auto;
  max-width: 90%;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
}

.flipper-span {
  font-size: 19px;
  color: #ffffff;
  font-family: PingFang SC-Bold;
}

.flipper-number {
  font-size: 22px;
  color: #ffffff;
  margin-left: 3px;
  font-family: PingFang SC-Bold;
}
@media (max-width: 2600px) {
  .flipper-number {
    font-size: 16px;
  }
  .flipper-span {
    font-size: 12px;
    
  }
}
.PingFang{
  font-family: PingFang SC-Bold;
}
.bold{
  font-weight: bold;
}
.text-blue{
  color:#00D2FF
}
.text-yellow {
  color: #FDC143;
}

.text-red {
  color: #ff4960;
}

.text-green {
  color: #3de65c;
}

.up {
  width: 12px;
  height: 20px;
  margin: 0 5px;
  // background-color: red;
  background-size: 100% 100%;
  background-image: url('~@/assets/images/licang/up.png');
}

.down {
  width: 12px;
  margin: 0 5px;
  height: 20px;
  // background-color: red;
  background-size: 100% 100%;
  background-image: url('~@/assets/images/licang/down.png');
}

/*滚动条样式*/
::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
  cursor: pointer !important;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px !important;
  -webkit-box-shadow: inset 0 0 5px rgba(33, 117, 255, 0.2) !important;
  background: rgba(4, 162, 253, 0.5) !important;
  cursor: pointer !important;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgba(33, 117, 255, 0.2) !important;
  border-radius: 5px !important;
  background: rgba(33, 117, 255, 0.2) !important;
  cursor: pointer !important;
}

// .left-enter-active {
//   animation: moveleft 0.9s;
// }

// .left-leave-active {
//   animation: moveleft 0.9s reverse;
// }


// @keyframes moveleft {
//   from {
//     transform: translateX(-100%);
//   }

//   to {
//     transform: translate(0);
//   }
// }
// .right-enter-active {
//   animation: moveRight 0.9s;
// }

// .right-leave-active {
//   animation: moveRight 0.9s reverse;
// }

// @keyframes moveRight {
//   from {
//     transform: translateX(100%);
//   }

//   to {
//     transform: translate(0);
//   }
// }